home *** CD-ROM | disk | FTP | other *** search
/ NeXT Enterprise Objects Framework 1.1 / NeXT Enterprise Objects Framework 1.1.iso / NextDeveloper / Examples / EnterpriseObjects / MasteringDetails / EmpController.h < prev    next >
Encoding:
Text File  |  1995-02-18  |  737 b   |  28 lines

  1. // EmpController.h - The application controller for this example
  2.  
  3. #import <appkit/appkit.h>
  4. #import "SavvyControllerDelegate.h"
  5.  
  6. // As a subclass of SavvyControllerDelegate, we will automatically
  7. // provide key assignment for insertions and deletions in detail
  8. // controllers for which are assigned as the delegate.
  9. @interface EmpController : SavvyControllerDelegate
  10. {
  11.     EOController *    empController;
  12.     EOController *  quoteController;
  13.     EOController *  photoController;
  14.     EOController *  empDeptsController;
  15.     EOController *  empProjectsController;
  16.  
  17.     // Lists of data to choose from
  18.     EOController *  allDeptsController;
  19.     EOController *  allProjectsController;
  20.  
  21.     id    window;
  22. }
  23.  
  24. - save:sender;
  25. - insert:sender;
  26.  
  27. @end
  28.